package com.asset.crm.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name="deleted_account")
public class DeletedAccount {
	
	private Integer id;
	private Integer deletedId;
	
	private Integer deleterId;

	/**
	 * @return the id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE ,generator="deleted_account_id_seq")
	@SequenceGenerator(name="deleted_account_id_seq",sequenceName="deleted_account_id_seq",allocationSize=1)
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the deletedId
	 */
	@Column(name="deleted_id")
	public Integer getDeletedId() {
		return deletedId;
	}

	/**
	 * @param deletedId the deletedId to set
	 */
	public void setDeletedId(Integer deletedId) {
		this.deletedId = deletedId;
	}

	/**
	 * @return the deleterId
	 */
	@Column(name="deleter_id")
	public Integer getDeleterId() {
		return deleterId;
	}

	/**
	 * @param deleterId the deleterId to set
	 */
	public void setDeleterId(Integer deleterId) {
		this.deleterId = deleterId;
	}
	
	

}
